//
//  HMSportTrackingLine.h
//  BlackHorseLine
//
//  Created by made on 17/3/5.
//  Copyright © 2017年 made. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MAMapKit/MAMapKit.h>
#import "HMSportPolyLine.h"

@interface HMSportTrackingLine : NSObject

- (instancetype)initWithStartLocation:(CLLocation *)startLoction EndLocation:(CLLocation *)endLocation;

@property(nonatomic,strong,readonly)HMSportPolyLine *polyline;

//轨迹线条的速度
@property(nonatomic,assign,readonly)double speed;

//轨迹线条时间 单位:s
@property(nonatomic,assign,readonly)double time;

//轨迹线条距离 单位:km
@property(nonatomic,assign,readonly)double distance;

@end
